// 待考察供应商列表
const FORM_ITEM_LIST = [
  {
    prop: 'supplierCode',
    label: '供应商代码',
    type: 'input'
  },
  {
    prop: 'supplierName',
    label: '供应商名称',
    type: 'input'
  },
  {
    prop: 'supplierManagerAreaId',
    label: '管理区域',
    type: 'managementArea'
  },
  {
    prop: 'supplierClassify',
    label: '供应商分类',
    type: 'select',
    clearable: true,
    options: [
      { value: 40332, label: '合格供应商' },
      { value: 40331, label: '潜在供应商' },
    ],
  },
  {
    prop: 'settlementType',
    label: '结算方式',
    type: 'select',
    clearable: true,
    sysDict: 10173
  },
  {
    prop: 'belongDepartment',
    label: '归属中心',
    required: true,
    type: 'select',
    filterable: true,
    dict: 233,
  },
]
const TABLE_COLUMNS = [
  {
    title: '供应商代码',
    key: 'supplierCode'
  },
  {
    title: '供应商名称',
    key: 'supplierName',
  },
  {
    title: '供应商分类',
    key: 'supplierClassifyName',
  },
  {
    title: '供应商类型',
    key: 'supplierTypeName',
  },
  {
    title: '供应商管理区域',
    key: 'managementAreaName'
  },
  {
    title: '归属中心',
    key: 'belongDepartmentName',
  },
  {
    title: '结算方式',
    key: 'settlementTypeName'
  },
  {
    title: '使用比例',
    key: 'useRatio'
  },
  {
    title: '单笔限额（元）',
    key: 'singlePayment'
  },
  {
    title: '年度累计限额（元）',
    key: 'annualCumulativeLimit',
    width: 130
  },
  {
    title: '我司承担贴息利率（%）',
    key: 'rateInterest',
    width: 160
  },
  {
    title: '承兑期限（天）',
    key: 'acceptPeriod'
  },
  {
    title: '免息使用比例（%）',
    key: 'freeUseRatio',
    width: 150
  },
  {
    title: '免息贴息期限（天）',
    key: 'freeAcceptPeriod',
    width: 150
  },
  {
    title: '固定天数',
    key: 'fixedDays'
  },
  {
    title: '固定贴息年利率（%）',
    key: 'fixedRateInterest',
    width: 150
  },
  {
    title: '贴息部分补税税率（%）',
    key: 'discountTaxRate',
    width: 160
  },
]
export {
  FORM_ITEM_LIST,
  TABLE_COLUMNS
}
